package com.coderush.admin.sys.consts;

/**
 * PackageName com.stellarforce.admin.sys.consts
 *
 * @Author Eason
 * @Version v1.0
 * @ClassName EmployeeInfoCacheKey
 * @Date 2025/8/18
 * @Description 员工信息缓存
 */
public class EmployeeCacheKey {

    /**
     * 员工信息缓存前缀
     */
    public static final String EMPLOYEE_LOGIN_TOKEN_PREFIX = "employee:login:token:";

    /**
     * 员工登录缓存的图片验证码的key
     */
    public static final String EMPLOYEE_LOGIN_TOKEN_VERIFY_CODE_KEY = "employee:login:verify:code:";

    /**
     * 图片验证码缓存时间 (秒)
     */
    public static final long EMPLOYEE_LOGIN_TOKEN_VERIFY_CODE_TIMEOUT = 60 * 5; // 5分钟

    /**
     * 员工信息缓存时间 (秒)
     */
    public static final long EMPLOYEE_LOGIN_TOKEN_TIMEOUT = 60 * 60 * 12; // 12小时


}